using UnityEngine;

public class HotUpdatePanel
{   
    public GameObject Go { get; private set; }
    public Transform Tf { get; private set; }
	public UILabel Tip_txt { get; private set; }
	public GameObject Update_obj { get; private set; }
	public GameObject Prog_obj { get; private set; }
	public UISlider Load_sdr { get; private set; }
	public UILabel Versions_txt { get; private set; }
	public UILabel Load_txt { get; private set; }
	public UILabel Prog_txt { get; private set; }
	public GameObject Ask_obj { get; private set; }
	public GameObject Dialog1_obj { get; private set; }
	public GameObject Dialog2_obj { get; private set; }
	public UILabel Info_txt { get; private set; }
	public GameObject Link_obj { get; private set; }
	public GameObject Dialog_obj { get; private set; }
	public UISprite Dialog_sp { get; private set; }

    public HotUpdatePanel(GameObject obj)
    {
        Go = obj; Tf = obj.transform;
		Tip_txt = Tf.Find("Texture/Tip_txt").GetComponent<UILabel>();
		Update_obj = Tf.Find("Update_obj").gameObject;
		Prog_obj = Tf.Find("Update_obj/Prog_obj").gameObject;
		Load_sdr = Tf.Find("Update_obj/Prog_obj/Load_sdr").GetComponent<UISlider>();
		Versions_txt = Tf.Find("Update_obj/Prog_obj/Versions_txt").GetComponent<UILabel>();
		Load_txt = Tf.Find("Update_obj/Prog_obj/Load_txt").GetComponent<UILabel>();
		Prog_txt = Tf.Find("Update_obj/Prog_obj/Prog_txt").GetComponent<UILabel>();
		Ask_obj = Tf.Find("Update_obj/Ask_obj").gameObject;
		Dialog1_obj = Tf.Find("Update_obj/Ask_obj/Dialog1_obj").gameObject;
		Dialog2_obj = Tf.Find("Update_obj/Ask_obj/Dialog2_obj").gameObject;
		Info_txt = Tf.Find("Update_obj/Ask_obj/Info_txt").GetComponent<UILabel>();
		Link_obj = Tf.Find("Update_obj/Link_obj").gameObject;
		Dialog_obj = Tf.Find("Update_obj/Link_obj/Dialog_obj").gameObject;
		Dialog_sp = Tf.Find("Update_obj/Dialog_sp").GetComponent<UISprite>();
    }
}